//
//  LWHImageViewForDestination.m
//  ProjectA
//
//  Created by dllo on 16/3/3.
//  Copyright © 2016年 刘旺辉. All rights reserved.
//

#import "LWHImageViewForDestination.h"

@implementation LWHImageViewForDestination
- (void)dealloc {
 
    [_labelForName release];
    [_labelForCount release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.labelForName = [[UILabel alloc] initWithFrame:CGRectMake(50, 50, 50, 50)];
        [self addSubview:self.labelForName];
        [_labelForName release];
        self.labelForName.backgroundColor = [UIColor redColor];
        
        self.labelForCount = [[UILabel alloc] initWithFrame:CGRectMake(50, 100, 50, 50)];
        [self addSubview:self.labelForCount];
        [_labelForCount release];
        
        self.labelForCount.backgroundColor = [UIColor greenColor];
        
    }
    return self;
}

@end
